package com.zsk.shop.model.results;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author Ys
 * @date 2022年03月09日 9:58
 */
@Data
@ApiModel("确认订单页返回参数")
public class ConfirmOrderResult {

    @ApiModelProperty("邮费")
    private BigDecimal postage;

    @ApiModelProperty("赠送积分")
    private Integer returnPoints = 0;

    @ApiModelProperty("购买数量")
    private Integer goodsNumber;

    @ApiModelProperty("商品名称")
    private String goodsName;

    @ApiModelProperty("商品图片")
    private String img;

    @ApiModelProperty("sku名称")
    private String skuName;

    @ApiModelProperty("单价")
    private BigDecimal price;

    @ApiModelProperty("复购价")
    private BigDecimal againPrice;

    @ApiModelProperty("Vip价格")
    private BigDecimal vipPrice;

    @ApiModelProperty("特价")
    private BigDecimal specialPrice;

    @ApiModelProperty("价格明细")
    private BigDecimal amount;

    @ApiModelProperty("合计：")
    private BigDecimal totalAmount;

    @ApiModelProperty(name = "goodsOrderType", value = "1 普通，2 0元购，3 会员商城, 4 特殊，5 复购商品", dataType = "Integer")
    private Integer goodsOrderType;

    @ApiModelProperty("抵扣积分")
    private Integer deductionPoints;

}
